﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;

namespace QLBH.Reports
{
    public partial class ReportDialogBase : Form
    {
        public ReportDialogBase(ReportDocument doc)
        {
            InitializeComponent();

            crystalReportViewer1.ReportSource = doc;
            crystalReportViewer1.Show();
        }       

        private void ReportDialogBase_Load(object sender, EventArgs e)
        {
            //SettingReportParameter();
            //this.reportViewer1.RefreshReport();
        }        

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
